load("//tools:cpplint.bzl", "cpplint")

package(default_visibility = ["//visibility:public"])

cc_library(
    name = "opendrive_adapter",
    srcs = [
        "coordinate_convert_tool.cc",
        "opendrive_adapter.cc",
        "proto_organizer.cc",
        "xml_parser/header_xml_parser.cc",
        "xml_parser/junctions_xml_parser.cc",
        "xml_parser/lanes_xml_parser.cc",
        "xml_parser/objects_xml_parser.cc",
        "xml_parser/roads_xml_parser.cc",
        "xml_parser/signals_xml_parser.cc",
        "xml_parser/util_xml_parser.cc",
    ],
    hdrs = [
        "coordinate_convert_tool.h",
        "opendrive_adapter.h",
        "proto_organizer.h",
        "xml_parser/common_define.h",
        "xml_parser/header_xml_parser.h",
        "xml_parser/junctions_xml_parser.h",
        "xml_parser/lanes_xml_parser.h",
        "xml_parser/objects_xml_parser.h",
        "xml_parser/roads_xml_parser.h",
        "xml_parser/signals_xml_parser.h",
        "xml_parser/status.h",
        "xml_parser/util_xml_parser.h",
    ],
    deps = [
        "//cyber",
        "//modules/common/math",
        "//modules/common/status",
        "//modules/common/util",
        "//modules/map/proto:map_proto",
        "@proj4",
        "@tinyxml2",
    ],
)

cpplint()
